-- card: 40401 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 4755 -- name: -- part contents for background part 4 ----- text ----- C++ CUSTOM SCOPES In addition to the extension of the C 'struct' type provided by TC, C++ provides a new user-defined type using the 'class' keyword. Classes are defined with 'class' using the same syntax as classes defined with 'struct', except that it is possible to apply a variety of scope restrictions to the instance variables and methods of the resulting class. class Rolls:Automobile { protected: char *favorite_wine[100]; int lookup_wine_list(char*); public: void restock_wines(int); }; The keywords 'private', 'protected', and 'public' cause members of the class to be -- part contents for background part 7 ----- text ----- 112